﻿Solution solution = new Solution();
// add your code here for debugging

solution.ReverseKGroup(new int[] { 1, 2, 3, 4, 5 }.ToListNodes()!, 3);